//
//  TitleViewController.h
//
//
//  Created by mokai on 14/11/19.
//  Copyright (c) 2014年 mokai. All rights reserved.
//

#import "BaseViewController.h"

@interface NavBarViewController : BaseViewController

@property (nonatomic,retain) UIView  *statusView;//状态栏
@property (nonatomic,retain) UIView  *navBarView;//navBar
@property (nonatomic,retain) UILabel *titleLb;//标题

/**
 *  显示
 */
-(void)showNavBarView;
/**
 *  隐藏
 */
-(void)hideNavBarView;
/**
 *  设置标题
 *
 */
-(void)setTitle:(NSString *)title;
/**
 *  设置返回按钮
 *
 */
-(void)setBackItem:(NSString *)title;
/**
 *  设置返回按钮以及图片
 *
 */
-(void)setBackItem:(NSString *)title imageName:(NSString *)imageName;
/**
 *  设置左边按钮
 *
 */
- (void)setLeftItem:(NSString *)title;
- (void)setLeftItemWithImage:(UIImage *)image;
- (void)setLeftItemWithImageName:(NSString *)imageName;
- (void)setLeftItem:(NSString *)title imageName:(NSString *)imageName;
/**
 *  设置右边按钮
 *
 */
- (void)setRightItem:(NSString *)title;
- (void)setRightItemWithImage:(UIImage *)image;
- (void)setRightItemWithImageName:(NSString *)imageName;
- (void)setRightItem:(NSString *)title imageName:(NSString *)imageName;

//NavBar Item点击 
- (void)leftItemClick:(UIButton*)sender;
- (void)rightItemClick:(UIButton*)sender;
@end
